//
//  MDHPTProtocol.h
//  MDHPT
//
//  Created by 高得华 on 2019/4/23.
//  Copyright © 2019年 高得华. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MDHPTProtocol : NSObject

@end

NS_ASSUME_NONNULL_END

//MARK: - ==== 协议的方法进行做
@protocol MMWDHObserveNavBackButtonHandlerProtocol <NSObject>
@optional
///重写下面的方法以拦截导航栏返回按钮点击事件，返回 YES 则 pop，NO 则不 pop
- (BOOL)navigationShouldPopOnBackButton;
@end


/// A protocol which is adopted by views which are backed by view models.
@protocol MDHReactiveView <NSObject>
/// Binds the given view model to the view.
///
/// viewModel - The view model
- (void)bindViewModel:(id)viewModel;
@end

